import {get} from '../get'
import {post} from '../post'
import browsingHistoryApi from '../../config/api/browsingHistoryApi'

export function addBrowsingHistory(obj,token) {
  return post(browsingHistoryApi.addBrowsingHistory, obj,token);
}
export function findBrowsingHistory(obj,token) {
  return get(browsingHistoryApi.findBrowsingHistory,obj, token);
}

export function findBrowsingHistoryCountByUser(obj,token) {
  return get(browsingHistoryApi.findBrowsingHistoryCountByUser,obj, token);
}
